package org.ricks.ioc;

import org.ricks.common.db.RepositoryDao;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Table {

    String name() default "";
    String charset() default "utf8";
    String collate() default "";
    String comment() default "";
    Class db() default RepositoryDao.class;
    long delayTime() default 10000;
    int split() default 0;
}
